package com.qf.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.qf.mapper.DtsUserAccountMapper;
import com.qf.pojo.DtsUserAccount;
import com.qf.service.DtsUserAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DtsUserAccountServiceImpl implements DtsUserAccountService {
    @Autowired
    DtsUserAccountMapper dtsUserAccountMapper;
    @Override
    public DtsUserAccount detailApprove(Integer id) {
        LambdaQueryWrapper<DtsUserAccount> wrapper = new LambdaQueryWrapper<>();
        wrapper.eq(DtsUserAccount ::getUserId,id);
        DtsUserAccount dtsUserAccount = dtsUserAccountMapper.selectOne(wrapper);
        return dtsUserAccount;
    }
}